457a8894f24907d24217d8fc007ef518232a61b0
[openwrt/openwrt.git] /
1 From: Lorenzo Bianconi <lorenzo@kernel.org>
2 Date: Tue, 26 Aug 2025 13:54:31 +0200
3 Subject: [PATCH] wifi: mac80211: Make CONNECTION_MONITOR optional for MLO sta
4
5 Since commit '1bc892d76a6f ("wifi: mac80211: extend connection
6 monitoring for MLO")' mac80211 supports connection monitor for MLO
7 client interfaces. Remove the CONNECTION_MONITOR requirement in
8 ieee80211_register_hw routine.
9
10 Fixes: 1bc892d76a6f ("wifi: mac80211: extend connection monitoring for MLO")
11 Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
12 ---
13
14 --- a/net/mac80211/main.c
15 +++ b/net/mac80211/main.c
16 @@ -1179,9 +1179,6 @@ int ieee80211_register_hw(struct ieee802
17 if (WARN_ON(!ieee80211_hw_check(hw, MFP_CAPABLE)))
18 return -EINVAL;
19
20 - if (WARN_ON(!ieee80211_hw_check(hw, CONNECTION_MONITOR)))
21 - return -EINVAL;
22 -
23 if (WARN_ON(ieee80211_hw_check(hw, NEED_DTIM_BEFORE_ASSOC)))
24 return -EINVAL;
25